Release 10.1A: OpenEdge Reporting:
Report Builder Deployment
Generating a list of reports
You can generate a list of reports in a report library using the
aderb/_getname.pprocedure. This procedure also calculates the number of reports in the library.To generate a list of reports in a report library, use the following command in the Progress 4GL application:
The following list describes the arguments for the
_getname.pprocedure:library-pathnameThe full path of the report library you want to read.
report-listThe character variable that will display the report names as a comma separated list.
report-countThe integer variable that will receive the number of reports in the library.
For example, to list all the reports in the
acctsliblibrary and receive the number of reports in this library, run thereptlist.pprocedure:
The commented numbers correspond to the following step-by-step descriptions:
- Define the variables that will display the report names and the number of reports.
- Format a selection list to display the list of report names.
- Call the
_getname.pprocedure and specify first the report library, second, the variable in which to return the report names, and lastly, the variable in which to return the number of reports in the library.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |